﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Auglýsingar
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">

<div id="navigation">
    <% Html.RenderPartial("AdminNavigation"); %>
</div>

<div id="content">
    <h2>
        Auglýsingar
    </h2>
    <form action="Ads1" method="post" enctype="multipart/form-data">
    <fieldset>
    <legend>Banner Vinstri:</legend>
    <input type="file" name="file" id="file1" value="ad1" />
    <input type="submit" value="Hlaða upp"/>
    <br /><br />
    <img src="<%= Url.Content("~/Content/banner/ad1.jpg") %>" />
        </fieldset>
    </form>
    <br /><br />
    <form action="Ads2" method="post" enctype="multipart/form-data">
    <fieldset>
    <legend>Banner Hægri:</legend>
        <input type="file" name="file" id="file2" value="ad2" />
        <input type="submit" value="Hlaða upp" /><br /><br />
        <img src="<%= Url.Content("~/Content/banner/ad2.jpg") %>" />
        </fieldset>
    </form>
</div>

</asp:Content>
